gtk4.git
5 years agotestsuite: Enable the remaining template tests
Matthias Clasen [Sun, 10 May 2020 21:54:49 +0000 (17:54 -0400)]
testsuite: Enable the remaining template tests

These are no longer failing.

5 years agotreeview: Break reference cycles on unroot
Matthias Clasen [Mon, 11 May 2020 14:00:12 +0000 (10:00 -0400)]
treeview: Break reference cycles on unroot

It is a bad idea to have such cycles in the first place,
and there is no need to let them linger past unroot.

This stop the treeview depending on run_dispose to get
freed, a simple unparent will work now.

5 years agoMerge branch 'wip/baedert/for-master' into 'master'
Matthias Clasen [Mon, 11 May 2020 14:24:45 +0000 (14:24 +0000)]
Merge branch 'wip/baedert/for-master' into 'master'

Wip/baedert/for master

See merge request GNOME/gtk!1867

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Mon, 11 May 2020 14:20:13 +0000 (14:20 +0000)]
Update Ukrainian translation

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 11 May 2020 12:51:08 +0000 (12:51 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #2729 and #2730

See merge request GNOME/gtk!1870

5 years agomenubutton: Cosmetics
Matthias Clasen [Mon, 11 May 2020 04:17:53 +0000 (00:17 -0400)]
menubutton: Cosmetics

Fix a few typos in the docs.

5 years agoRefresh the tutorial examples
Matthias Clasen [Mon, 11 May 2020 01:26:19 +0000 (21:26 -0400)]
Refresh the tutorial examples

Redo this series of examples from 2013, and adapt it to modern
way of doing things. The biggest differences are that we use
a headerbar right from the start, and don't mention the app
menu.

Fixes: #2730
5 years agoapplicationswindow: Make show-menubar FALSE by default
Matthias Clasen [Mon, 11 May 2020 00:15:31 +0000 (20:15 -0400)]
applicationswindow: Make show-menubar FALSE by default

The fallback to the menubar is not a good sight,
we should not do that by default.

5 years agodocs: Cosmetic updates to the tutorial
Matthias Clasen [Sun, 10 May 2020 22:23:32 +0000 (18:23 -0400)]
docs: Cosmetic updates to the tutorial

Since the meson conversion, we are no longer expanding
gtk-doc references in this file, so take them out. And
touch up the wording in various places.

5 years agoClean up a leak in a test
Matthias Clasen [Sun, 10 May 2020 21:13:26 +0000 (17:13 -0400)]
Clean up a leak in a test

One of the treeview tests was calling gtk_widget_destroy
on a child instead of the toplevel, which leaks the toplevel
unnecessarily. Plus, we're moving towards allowing destroy
only on toplevels.

5 years agotreeviewcolumn: Another case of box <> frame confusion
Matthias Clasen [Sun, 10 May 2020 18:07:17 +0000 (14:07 -0400)]
treeviewcolumn: Another case of box <> frame confusion

Don't call your boxes frames, folks!

5 years agobuilderscope: Fix finalize <> dispose confusion
Matthias Clasen [Sun, 10 May 2020 17:29:40 +0000 (13:29 -0400)]
builderscope: Fix finalize <> dispose confusion

Don't chain up to dispose if you implement finalize.

This fix s courtesy of GOBJECT_DEBUG=objects.

5 years agoprint dialog: Fix frame <> box confusion
Matthias Clasen [Sun, 10 May 2020 17:18:22 +0000 (13:18 -0400)]
print dialog: Fix frame <> box confusion

It is a bad idea to have a GtkBox called frame, event
if it started out its existence as a GtkFrame.

5 years agotreeview: Ensure search popover is properly inserted
Matthias Clasen [Sun, 10 May 2020 17:16:52 +0000 (13:16 -0400)]
treeview: Ensure search popover is properly inserted

The css tree and the widget tree are not in sync, so we need
to explicitly set the parent of the css node before inserting
the widget, or else we end up with critical warnings and a
non-working popover.

This can be seen in the print dialog, when moving the focus
to the printer list.

5 years agoprint-editor: Cosmetics
Matthias Clasen [Sun, 10 May 2020 16:59:27 +0000 (12:59 -0400)]
print-editor: Cosmetics

Make the about dialog a bit less barren.

5 years agoprint-editor: Fix a critical
Matthias Clasen [Sun, 10 May 2020 16:53:37 +0000 (12:53 -0400)]
print-editor: Fix a critical

GtkWindow is no longer a container, so don't call
gtk_container_add on it.

5 years agoMerge branch 'focusable-property' into 'master'
Matthias Clasen [Mon, 11 May 2020 11:23:15 +0000 (11:23 +0000)]
Merge branch 'focusable-property' into 'master'

Focusable property

See merge request GNOME/gtk!1834

5 years agoMerge branch 'aperezdc/vk-result-range-size' into 'master'
Emmanuele Bassi [Mon, 11 May 2020 10:02:53 +0000 (10:02 +0000)]
Merge branch 'aperezdc/vk-result-range-size' into 'master'

Fix build issue due to missing VK_RESULT_RANGE_SIZE

See merge request GNOME/gtk!1871

5 years agoFix build issue due to missing VK_RESULT_RANGE_SIZE
Adrian Perez de Castro [Mon, 11 May 2020 07:07:41 +0000 (10:07 +0300)]
Fix build issue due to missing VK_RESULT_RANGE_SIZE

Conditionally check whether the Vulkan headers version defines
VK_RESULT_RANGE_SIZE, and avoid using it for version >=140. The
following comming in Vulkan-Headers has removed the enum value:

  https://github.com/KhronosGroup/Vulkan-Headers/commit/0c5351f5e9114d3e9033aeae51d036a3d201c082#diff-4febd94c0666d59030d8b1dd20c72403

5 years agoClarify docs around focus.
Matthias Clasen [Mon, 11 May 2020 04:29:41 +0000 (00:29 -0400)]
Clarify docs around focus.

5 years agoRemove lots of focus vfuncs
Matthias Clasen [Mon, 11 May 2020 03:58:30 +0000 (23:58 -0400)]
Remove lots of focus vfuncs

In many cases, the default widget vfuncs work just fine,
combined with setting focusable.

5 years agowidget: Fix gtk_widget_focus_all for !focusable
Matthias Clasen [Mon, 11 May 2020 03:42:02 +0000 (23:42 -0400)]
widget: Fix gtk_widget_focus_all for !focusable

This was a case that wasn't handle properly when
the focus is entering from the outside, in forward
direction.

5 years agowidget: Add a :focusable property
Matthias Clasen [Tue, 5 May 2020 18:57:21 +0000 (14:57 -0400)]
widget: Add a :focusable property

Add back a property that determines whether an individual
widget will accept focus or not. :can-focus prevents the
focus from ever entering the entire widget hierarchy
below a widget, and :focusable just determines if grabbing
the focus to the widget itself will succeed.

See #2686

5 years agotestsuite: Add more tests for automated components
Matthias Clasen [Sun, 10 May 2020 15:12:07 +0000 (11:12 -0400)]
testsuite: Add more tests for automated components

Add template tests that show the complex dialogs before
destroying them. This reveals that we are leaking in
several of them. These leaks don't show up if the
dialogs are destroyed right away, as the existing
tests do.

Disable the two failing tests for now:
  /template/GtkFileChooserDialog/show
  /template/GtkPrintUnixDialog/show

5 years agotestsuite: Use lowercase component in test paths
Matthias Clasen [Sun, 10 May 2020 14:50:18 +0000 (10:50 -0400)]
testsuite: Use lowercase component in test paths

This is purely cosmetic.

5 years agotextview: Ensure popup menu is properly inserted
Matthias Clasen [Sun, 10 May 2020 13:16:32 +0000 (09:16 -0400)]
textview: Ensure popup menu is properly inserted

In the presence of attached children, the css tree and the
widget tree are not in sync, so we need to explicitly set
the parent of the css node before inserting the widget, or
else we end up with critical warnings and a non-working
menu.

This can be seen in testtextview.

5 years agotextview: Give attached children a different css name
Matthias Clasen [Sun, 10 May 2020 13:14:25 +0000 (09:14 -0400)]
textview: Give attached children a different css name

If we use "text" for the children that are attached to the
text view, they end up rendering the same background as the
main text content, causing that content to be covered up.

Fixes: #2729
5 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 10 May 2020 19:34:16 +0000 (22:34 +0300)]
Updated Lithuanian translation

5 years agoMerge branch 'wip/exalm/headerbar-dragging' into 'master'
Matthias Clasen [Sun, 10 May 2020 18:15:57 +0000 (18:15 +0000)]
Merge branch 'wip/exalm/headerbar-dragging' into 'master'

Extract GtkWindow dragging and titlebar actions

Closes #2689

See merge request GNOME/gtk!1814

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Sun, 10 May 2020 16:03:34 +0000 (16:03 +0000)]
Update Ukrainian translation

5 years agoUpdate POTFILES.in
Piotr Drąg [Sun, 10 May 2020 12:34:33 +0000 (14:34 +0200)]
Update POTFILES.in

5 years agogl shaders: unify frag coord handling
Timm Bäder [Sun, 10 May 2020 07:20:53 +0000 (09:20 +0200)]
gl shaders: unify frag coord handling

5 years agogl renderer: Only destroy shader programs with ids > 0
Timm Bäder [Sun, 10 May 2020 07:07:30 +0000 (09:07 +0200)]
gl renderer: Only destroy shader programs with ids > 0

We may return -1 as an error return value.

5 years agoscrolledwindow: Always keep the main child first
Timm Bäder [Thu, 7 May 2020 17:00:30 +0000 (19:00 +0200)]
scrolledwindow: Always keep the main child first

Otherwise we can't pick the scrollbars, which are allocated behind it.

5 years agostylecontext: Remove _save_named
Timm Bäder [Thu, 7 May 2020 07:10:01 +0000 (09:10 +0200)]
stylecontext: Remove _save_named

Now unused.

5 years agoscrolledwindwo: Add a permanent junction node
Timm Bäder [Thu, 7 May 2020 07:07:43 +0000 (09:07 +0200)]
scrolledwindwo: Add a permanent junction node

Use that instead of save_named'ing a junction node.

5 years agoprintunixdialog: Use two "paper" css nodes
Timm Bäder [Thu, 7 May 2020 07:01:50 +0000 (09:01 +0200)]
printunixdialog: Use two "paper" css nodes

Instead of save_named'ing to a temporary "paper" node.

5 years agocellrenderertoggle: Replace save_named with a css node
Timm Bäder [Thu, 7 May 2020 06:40:09 +0000 (08:40 +0200)]
cellrenderertoggle: Replace save_named with a css node

5 years agowidget: Move {dis,}connect_frame_clock into their only caller
Timm Bäder [Thu, 7 May 2020 06:20:03 +0000 (08:20 +0200)]
widget: Move {dis,}connect_frame_clock into their only caller

Makes sense to have these only in (un)realize.

5 years agostylecontext: Remove some unused private API
Timm Bäder [Thu, 7 May 2020 06:19:52 +0000 (08:19 +0200)]
stylecontext: Remove some unused private API

5 years agocss: Make GtkStyleAnimation and subclasses non-objects
Timm Bäder [Wed, 6 May 2020 17:17:11 +0000 (19:17 +0200)]
css: Make GtkStyleAnimation and subclasses non-objects

Making them GObjects is unnecessary. This enables further optimizations
down the road. The only place we use them in is gtkcssanimatedstyle.c
after all.

5 years agotesttreeview: Properly annotate a switch fallthrough
Timm Bäder [Wed, 6 May 2020 10:34:56 +0000 (12:34 +0200)]
testtreeview: Properly annotate a switch fallthrough

5 years agocss: Drop a few dynamic type checks
Timm Bäder [Wed, 6 May 2020 09:40:52 +0000 (11:40 +0200)]
css: Drop a few dynamic type checks

We hit these code paths a lot

5 years agocsstransiton: Save finished state
Timm Bäder [Wed, 6 May 2020 09:37:51 +0000 (11:37 +0200)]
csstransiton: Save finished state

Once a transtion is finished it can't change to unfinished again, so we
don't have to consult the progress tracker all the time.

5 years agogtkarray: memcpy() directly into the GPtrArray
Timm Bäder [Wed, 6 May 2020 08:25:05 +0000 (10:25 +0200)]
gtkarray: memcpy() directly into the GPtrArray

5 years agogtkarray: Create GPtrArray in insert() if we have to
Timm Bäder [Wed, 6 May 2020 08:24:15 +0000 (10:24 +0200)]
gtkarray: Create GPtrArray in insert() if we have to

5 years agogtkarray: Fix a typo
Timm Bäder [Wed, 6 May 2020 08:05:11 +0000 (10:05 +0200)]
gtkarray: Fix a typo

5 years agoMake dimension values and calc values just number values
Timm Bäder [Wed, 6 May 2020 07:56:52 +0000 (09:56 +0200)]
Make dimension values and calc values just number values

5 years agocsscalcvalue: Avoid allocating memory in compute()
Timm Bäder [Wed, 6 May 2020 06:23:17 +0000 (08:23 +0200)]
csscalcvalue: Avoid allocating memory in compute()

We already know how many values we're going to have, it's
value->n_terms.

5 years agoCI: install brotli in msys2
Christoph Reiter [Sun, 10 May 2020 06:31:37 +0000 (08:31 +0200)]
CI: install brotli in msys2

Not a direct dependency, but the freetype package is missing it atm

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 10 May 2020 00:36:49 +0000 (00:36 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

window: Remove some dead code

Closes #2726 and #2724

See merge request GNOME/gtk!1862

5 years agoplacesview: Don't do the same thing twice
Matthias Clasen [Sat, 9 May 2020 23:41:30 +0000 (19:41 -0400)]
placesview: Don't do the same thing twice

When the schema is supported, we want to remove
the error style class, not add it again. Pointed
out by Rafał Mikrut.

Fixes: #2724
5 years agogsk: Fix a typo
Matthias Clasen [Sat, 9 May 2020 23:40:06 +0000 (19:40 -0400)]
gsk: Fix a typo

We were checking x_offset twice, when we meant to check
x_offset and y_offset. Pointed out by Rafał Mikrut.

Fixes: #2726
5 years agoAdd a test for refcounts under reordering
Matthias Clasen [Sat, 9 May 2020 23:23:29 +0000 (19:23 -0400)]
Add a test for refcounts under reordering

It turns out that we have a ref leak at the very
core of our dom model :( gtk_widget_insert_before/after
leak a reference if the widget was already under
the same parent. This is something that GtkBox
frequently does. It shows up e.g. when packing
widgets at the end in a headerbar.

5 years agowidget: Don't leak a reference when reordering
Matthias Clasen [Sat, 9 May 2020 23:27:05 +0000 (19:27 -0400)]
widget: Don't leak a reference when reordering

When reordering a widget that is alrady under the
same parent, we must not take another reference.

5 years agowindow: Remove some dead code
Matthias Clasen [Sat, 9 May 2020 13:22:14 +0000 (09:22 -0400)]
window: Remove some dead code

We are not attaching windows anymore.

5 years agoUpdate Romanian translation
Daniel Șerbănescu [Sat, 9 May 2020 18:19:28 +0000 (18:19 +0000)]
Update Romanian translation

5 years agoUpdate Romanian translation
Florentina Mușat [Sat, 9 May 2020 17:18:59 +0000 (17:18 +0000)]
Update Romanian translation

5 years agoUpdate Esperanto translation
Kristjan SCHMIDT [Sat, 9 May 2020 10:20:43 +0000 (10:20 +0000)]
Update Esperanto translation

5 years agoMerge branch 'carlosgc/content-provider-union-write' into 'master'
Matthias Clasen [Fri, 8 May 2020 15:50:33 +0000 (15:50 +0000)]
Merge branch 'carlosgc/content-provider-union-write' into 'master'

clipboard: GdkContentProviderUnion should return after writing the first matched format

See merge request GNOME/gtk!1856

5 years agoMerge branch 'tintou/gsk-transform-autocleanup' into 'master'
Matthias Clasen [Fri, 8 May 2020 15:05:50 +0000 (15:05 +0000)]
Merge branch 'tintou/gsk-transform-autocleanup' into 'master'

gsk: Add GskTransform autocleanup definition

See merge request GNOME/gtk!1859

5 years agoMerge branch 'gbsneto/css-dequeue-fix' into 'master'
Matthias Clasen [Fri, 8 May 2020 14:55:46 +0000 (14:55 +0000)]
Merge branch 'gbsneto/css-dequeue-fix' into 'master'

csswidgetnode: Don't check for container

See merge request GNOME/gtk!1861

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 8 May 2020 14:51:59 +0000 (14:51 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!1860

5 years agocsswidgetnode: Don't check for container
Georges Basile Stavracas Neto [Fri, 8 May 2020 13:51:54 +0000 (10:51 -0300)]
csswidgetnode: Don't check for container

The conditions to queue and dequeue a CSS validation
are different; while queueing checks if the widget is
a root, dequeueing checks that AND if the widget is
a container.

GtkWindow is not a GtkContainer anymore, and that is
causing validations to be queued, but never dequeued.

Don't require the widget to be a GtkContainer for
dequeuing.

5 years agoplaceview: Hide the protocols grid when its empty
Matthias Clasen [Fri, 8 May 2020 13:07:29 +0000 (09:07 -0400)]
placeview: Hide the protocols grid when its empty

Seeing just the bold headings at the bottom of the
popover is confusing, so just hide the entire grid
in this case.

5 years agodroptarget: Fix confusion around ::leave signal
Matthias Clasen [Fri, 8 May 2020 12:47:06 +0000 (08:47 -0400)]
droptarget: Fix confusion around ::leave signal

The leave signal should not take any arguments,
don't pass the GdkDrop. Update the documentation,
fix the emission and update users to match.

This was showing up as crash when dragging files
over the places sidebar.

5 years agogsk: Add GskTransform autocleanup definition
Corentin Noël [Fri, 8 May 2020 07:14:55 +0000 (09:14 +0200)]
gsk: Add GskTransform autocleanup definition

5 years agotestsuite: Update bloomfilter test
Alexander Mikhaylenko [Wed, 6 May 2020 13:38:59 +0000 (18:38 +0500)]
testsuite: Update bloomfilter test

Add the 2 new css nodes.

5 years agowindow: Stop handling dragging and titlebar actions
Alexander Mikhaylenko [Sat, 2 May 2020 15:37:51 +0000 (20:37 +0500)]
window: Stop handling dragging and titlebar actions

Since GtkWindowHandle and GtkHeaderBar do it now, it can be removed from
GtkWindow, along with GTK_WINDOW_REGION_TITLE which at this point doesn't
differ from GTK_WINDOW_REGION_CONTENT.

Closes https://gitlab.gnome.org/GNOME/gtk/-/issues/2689, since
GtkWindowHandle doesn't do that anymore.

5 years agoheaderbar: Include GtkWindowHandle
Alexander Mikhaylenko [Sat, 2 May 2020 15:37:41 +0000 (20:37 +0500)]
headerbar: Include GtkWindowHandle

This allows it to continue being draggable when placed inside a window, and
will allow to remove the corresponding gestures from GtkWindow.

5 years agoheaderbar: Use GtkCenterBox internally
Alexander Mikhaylenko [Fri, 1 May 2020 22:01:12 +0000 (03:01 +0500)]
headerbar: Use GtkCenterBox internally

This will allow to easily wrap it into another widget in the next commits.

5 years agoAdd GtkWindowHandle
Alexander Mikhaylenko [Sat, 2 May 2020 15:37:32 +0000 (20:37 +0500)]
Add GtkWindowHandle

This will allow to move the titlebar handling logic out from GtkWindow.

5 years agoclipboard: GdkContentProviderUnion should return after writing the first matched...
Carlos Garcia Campos [Thu, 7 May 2020 09:21:18 +0000 (11:21 +0200)]
clipboard: GdkContentProviderUnion should return after writing the first matched format

It continues trying with the other providers due to a missing early
return.

5 years agowidget: Pass parent to gtk_widget_consumes_motion()
Alexander Mikhaylenko [Sat, 2 May 2020 15:34:15 +0000 (20:34 +0500)]
widget: Pass parent to gtk_widget_consumes_motion()

Right now it assumes that the parent is a GtkWindow. This will break when
window dragging is handled by another widget.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 7 May 2020 02:56:04 +0000 (02:56 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Fix an inspector crash

See merge request GNOME/gtk!1855

5 years agoFix an inspector crash
Matthias Clasen [Thu, 7 May 2020 02:25:51 +0000 (22:25 -0400)]
Fix an inspector crash

Fix the listmodel semantics of the controller model,
by making get_item return a reference.
This was broken in 4b9e5304cc.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 7 May 2020 01:40:39 +0000 (01:40 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

modelbutton: Unify activation code paths

See merge request GNOME/gtk!1854

5 years agomodelbutton: Unify activation code paths
Matthias Clasen [Thu, 7 May 2020 00:25:42 +0000 (20:25 -0400)]
modelbutton: Unify activation code paths

Opening submenus by Enter or Space wasn't working,
because we had different code paths for activation
via keynav and via click. Unify them.

5 years agoMerge branch 'ebassi/for-master' into 'master'
Emmanuele Bassi [Wed, 6 May 2020 22:53:42 +0000 (22:53 +0000)]
Merge branch 'ebassi/for-master' into 'master'

Ebassi/for master

See merge request GNOME/gtk!1853

5 years agoAnnotate gtk_text_child_anchor_get_widgets() correctly
Emmanuele Bassi [Wed, 6 May 2020 18:31:07 +0000 (19:31 +0100)]
Annotate gtk_text_child_anchor_get_widgets() correctly

We switched from returning a list to returning a C array, which means we
need to update the introspection annotation and the documentation to
match the implementation.

5 years agoAnnotate gdk_motion_event_get_history() correctly
Emmanuele Bassi [Wed, 6 May 2020 18:28:33 +0000 (19:28 +0100)]
Annotate gdk_motion_event_get_history() correctly

We moved from returning a list to returning a C array, and this requires
a change in the annotations.

5 years agoMerge branch 'gbsneto/array-clear-func' into 'master'
Georges Basile Stavracas Neto [Wed, 6 May 2020 22:02:17 +0000 (22:02 +0000)]
Merge branch 'gbsneto/array-clear-func' into 'master'

icontheme: Don't free array element

Closes #2717

See merge request GNOME/gtk!1851

5 years agoMerge branch 'wip/exalm/polish' into 'master'
Matthias Clasen [Wed, 6 May 2020 21:47:47 +0000 (21:47 +0000)]
Merge branch 'wip/exalm/polish' into 'master'

Random polish

See merge request GNOME/gtk!1850

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 6 May 2020 21:35:08 +0000 (21:35 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

nodeeditor: Don't use container api on list box rows

See merge request GNOME/gtk!1852

5 years agoicontheme: Don't free array element
Georges Basile Stavracas Neto [Wed, 6 May 2020 21:06:09 +0000 (18:06 -0300)]
icontheme: Don't free array element

When setting a clear function on a GArray, unlike
most other places, this free func is expected to
*not* free the array element itself -- only its
contents.

Don't free the array element.

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/2717

5 years agonodeeditor: Don't use container api on list box rows
Matthias Clasen [Wed, 6 May 2020 21:03:12 +0000 (17:03 -0400)]
nodeeditor: Don't use container api on list box rows

GtkListBoxRow is not a container anymore.

5 years agowidget-factory: Remove duplicate margin-start
Alexander Mikhaylenko [Wed, 6 May 2020 20:29:33 +0000 (01:29 +0500)]
widget-factory: Remove duplicate margin-start

5 years agowidget-factory: Align spinbutton in the list on page 2
Alexander Mikhaylenko [Wed, 6 May 2020 20:29:20 +0000 (01:29 +0500)]
widget-factory: Align spinbutton in the list on page 2

5 years agovideo: Use more appropriate revealer transition
Alexander Mikhaylenko [Wed, 6 May 2020 20:21:26 +0000 (01:21 +0500)]
video: Use more appropriate revealer transition

5 years agoMerge branch 'gbsneto/fix-text-child-header' into 'master'
Matthias Clasen [Wed, 6 May 2020 20:13:22 +0000 (20:13 +0000)]
Merge branch 'gbsneto/fix-text-child-header' into 'master'

textchild: Include <gtk/gtkwidget.h>

See merge request GNOME/gtk!1846

5 years agoMerge branch 'master.struct.msvc' into 'master'
Matthias Clasen [Wed, 6 May 2020 20:02:27 +0000 (20:02 +0000)]
Merge branch 'master.struct.msvc' into 'master'

gtk/gtkaccelgroup.c: Fix build on Visual Studio

See merge request GNOME/gtk!1785

5 years agoMerge branch 'wip/exalm/row' into 'master'
Matthias Clasen [Wed, 6 May 2020 20:01:45 +0000 (20:01 +0000)]
Merge branch 'wip/exalm/row' into 'master'

placesview: Stop using gtk_container_add() for GtkListBoxRow

See merge request GNOME/gtk!1849

5 years agoadwaita: Remove a redundant -gtk-icon-shadow: none
Alexander Mikhaylenko [Wed, 6 May 2020 20:01:12 +0000 (01:01 +0500)]
adwaita: Remove a redundant -gtk-icon-shadow: none

Buttons have no icon shadows anymore anyway.

5 years agoadwaita: Don't style window menu button anymore
Alexander Mikhaylenko [Wed, 6 May 2020 19:59:44 +0000 (00:59 +0500)]
adwaita: Don't style window menu button anymore

Those were removed with the introduction of GtkWindowControls, no need to
exclude them from the round style anymore.

5 years agoadwaita: Use tabular figures where appropriate
Alexander Mikhaylenko [Wed, 6 May 2020 19:37:55 +0000 (00:37 +0500)]
adwaita: Use tabular figures where appropriate

Port 82b9be3297db7baeb605c286b01978bab02b5373 from GTK3.

5 years agoMerge branch 'drop-click-gesture-area' into 'master'
Matthias Clasen [Wed, 6 May 2020 19:25:32 +0000 (19:25 +0000)]
Merge branch 'drop-click-gesture-area' into 'master'

gestureclick: Drop the area

See merge request GNOME/gtk!1847

5 years agoMerge branch 'master-disable-introspection' into 'master'
Matthias Clasen [Wed, 6 May 2020 19:24:58 +0000 (19:24 +0000)]
Merge branch 'master-disable-introspection' into 'master'

CI: disable introspection with mingw to avoid flaky builds

See merge request GNOME/gtk!1848

5 years agoCI: use bash style variable expansion for the mingw cache key
Christoph Reiter [Wed, 6 May 2020 19:19:52 +0000 (21:19 +0200)]
CI: use bash style variable expansion for the mingw cache key

It doesn't understand the powershell syntax which leads to the cache
key being empty which leads to cache restore being skipped
which leads to slow builds not using ccache.

See https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2747

5 years agoMerge branch 'wip/jimmac/HC-focus' into 'master'
Jakub Steiner [Wed, 6 May 2020 19:22:27 +0000 (19:22 +0000)]
Merge branch 'wip/jimmac/HC-focus' into 'master'

HC: more contrasty focus rings

See merge request GNOME/gtk!1845

5 years agoadwaita: Make popover border transparent
Alexander Mikhaylenko [Wed, 6 May 2020 19:19:03 +0000 (00:19 +0500)]
adwaita: Make popover border transparent

Port 379669b153595fd1a33b200f6b08e7d5ba0407f4 from GTK3.